package com.hx.voice.recognition.gateway.feign;

import com.hx.voice.recognition.api.vo.log.LogInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @descripe：feign调用日志服务
 * @company：南京华讯方舟通讯设备有限公司
 * @author：zhoujinbing
 * @time：2019/6/12 9:13
 * @version：V1.0
 */
@FeignClient("voice-admin")
public interface ILogService {

    /**
     * @description 网关调用日志服务
     * @method  saveLog
     * @param  [logInfo]
     * @return void
     * @date: 2019/6/12 9:18
     * @author:zhoujinbing
     */
    @RequestMapping(value = "/api/log/save",method = RequestMethod.POST)
    void saveLog(LogInfo logInfo);

}